package cn.tulingxueyuan.springboot.springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Hashtable;
import java.util.concurrent.ConcurrentHashMap;

@RestController         // controller  +  responseBody
@RequestMapping("/test")
public class testController {

    @RequestMapping("/test")
    public String test(){
        ConcurrentHashMap concurrentHashMap = new ConcurrentHashMap();
        concurrentHashMap.put("name","chenchen");
        for(int i=0;i<13;i++){

        }
//        http://localhost:8088/tuling/test/test
        Hashtable<String,String> hashtable = new Hashtable<>();
        return "111";
    }

}
